package com.wander.common;

import java.util.List;

/**
 * Created by zhaowentong on 2017/6/2.
 */
public interface BaseDAO<M, QM> {
    int create(M var1);

    int update(M var1);

    int delete(int var1);

    M getById(int var1);

    List<M> queryByPage(QM var1);
}
